/*
 * @Author: kaikaima
 * @Date: 2021-01-31 09:51:33
 * @LastEditTime: 2021-01-31 09:54:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /undefined/home/messi/Data_Structure_and_Algorithm_GIT/PAT/Basic_level/1002.cpp
 */

/*读入一个正整数 n，计算其各位数字之和，用汉语拼音写出和的每一位数字。
  输入格式：
  每个测试输入包含 1 个测试用例，即给出自然数 n 的值。这里保证 n 小于 10​100​​。
  输出格式：
  在一行内输出 n 的各位数字之和的每一位，拼音数字间有 1 空格，但一行中最后一个拼音数字后没有空格。
  */
#include <iostream>

int main (int argc, char* argv[]){
    char p[101];
    int result=0;
    std::cin>>p;
    for(int i=0;p[i]!='\0';i++)
    	if(p[i]>='0'&&p[i]<='9')
    	result+=p[i]-'0';
    bool bai=(result>=100);
    switch(result/100){
        case 1:std::cout<<"yi";break;
        case 2:std::cout<<"er";break;
        case 3:std::cout<<"san";break;
        case 4:std::cout<<"si";break;
        case 5:std::cout<<"wu";break;
        case 6:std::cout<<"liu";break;
        case 7:std::cout<<"qi";break;
        case 8:std::cout<<"ba";break;
        case 9:std::cout<<"jiu";break;
    }
    result=result%100;
    if(bai)
    switch(result/10){
        case 0:std::cout<<" ling ";break;
        case 1:std::cout<<" yi ";break;
        case 2:std::cout<<" er ";break;
        case 3:std::cout<<" san ";break;
        case 4:std::cout<<" si ";break;
        case 5:std::cout<<" wu ";break;
        case 6:std::cout<<" liu ";break;
        case 7:std::cout<<" qi ";break;
        case 8:std::cout<<" ba ";break;
        case 9:std::cout<<" jiu ";break;
    }
    else
    switch(result/10){
        case 1:std::cout<<"yi ";break;
        case 2:std::cout<<"er ";break;
        case 3:std::cout<<"san ";break;
        case 4:std::cout<<"si ";break;
        case 5:std::cout<<"wu ";break;
        case 6:std::cout<<"liu ";break;
        case 7:std::cout<<"qi ";break;
        case 8:std::cout<<"ba ";break;
        case 9:std::cout<<"jiu ";break;
    }
    result=result%10;
    switch(result){
        case 0:std::cout<<"ling";break;
        case 1:std::cout<<"yi";break;
        case 2:std::cout<<"er";break;
        case 3:std::cout<<"san";break;
        case 4:std::cout<<"si";break;
        case 5:std::cout<<"wu";break;
        case 6:std::cout<<"liu";break;
        case 7:std::cout<<"qi";break;
        case 8:std::cout<<"ba";break;
        case 9:std::cout<<"jiu";break;
    }
    std::cout<<std::endl;
    return 0;
}